<div style="min-height: 250px">
<?php echo Form::open('settings/save_education', array('class' => 'education_form')) ?>
<ul class="list">
    <li>
            <div class="list_white_container">
                <?php echo Form::label('degree',__('Degree').'*:') ?>
		<?php echo Form::input('degree', null, array('class'=>'standard_text_form','id'=>'degree')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('school',__('School name').'*:') ?>
		<?php echo Form::input('school', null, array('class' => 'standard_text_form','id'=>'school','title'=>'Enter your address, try to use auto sugestion')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('faculty',__('Faculty').'*:') ?>
		<?php echo Form::input('faculty', null, array('class' => 'standard_text_form','id'=>'faculty','title'=>'Enter your address, try to use auto sugestion')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('',__('Start date').'*:') ?>
		<?php echo Form::select('start_date_month', Date::months(Date::MONTHS_LONG), false, array('class' => 'standard_select_form')) ?>
                <?php echo Form::select('start_date_year',  array_combine(array_reverse(Date::years(1920,date('Y'))),array_reverse(Date::years(1920,date('Y')))), false, array('class' => 'standard_select_form')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('',__('End date').':') ?>
		<?php echo Form::select('end_date_month', Date::months(Date::MONTHS_LONG), false, array('class' => 'standard_select_form')) ?>
                <?php echo Form::select('end_date_year', array_combine(array_reverse(Date::years(1920,date('Y'))),array_reverse(Date::years(1920,date('Y')))), false, array('class' => 'standard_select_form')) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('studying',__('Still learning').':') ?>
		<?php echo Form::checkbox('studying', '1', false, array('id' => 'studying', 'class' => 'still switch','data-content' => __('YES').'|'.__('NO'))) ?>
		<div style="clear: both"></div>
            </div>
    </li>
    <li>
            <div class="list_white_container">
                <?php echo Form::label('','') ?>
                <?php echo Form::submit('save', __('Add education'), array('class' => 'button_blue')) ?>
                <div style="clear: both"></div>
            </div>
    </li>
</ul>
<?php echo Form::close() ?>
<?php if($educations): ?>
    <header><?php echo __('my education') ?></header>
<ul class="list"> 
    <?php foreach($educations as $education):?>                
        <?php echo View::factory('settings/profile/education_row')->set('education',$education) ?>
    <?php  endforeach ?>
</ul>
<?php endif ?>
</div>